var base_url = "http://192.168.18.2:20054";
function getuser(){
    if(localStorage.api_token){
        $.ajax({
            url:base_url+'/api/users/info',
            data:{
                p:'w',
                api_token:localStorage.api_token
            },
            success:function(res){
                console.log(res)
                if(res.status==1){
                    console.log(res.data.username);
                    $('#username').text(res.data.username)
                }
            }
        })
    }
}

